@import "../../color.less";
.datePicker {
    position: relative;
    width: 100%;
    .selector {
        position: absolute;
        z-index: 999;
        top: 32px;
        left: 0;
        width: 300px;
        font-size: 14px;
        line-height: 1.5;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #fff;
        border-radius: 4px;
        outline: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        transition: all 0.375s cubic-bezier(0.165, 0.84, 0.44, 1);
        max-height: 0px;
        overflow: hidden;
        opacity: 0;
    }
    .selector.active {
        max-height: 600px;
        opacity: 1;
    }
}
.wrapTime {
    color: #000;
    font-size: 12px;
    padding: 6px 10px;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.15);
    position: relative;
    .label {
        font-size: 14px;
        margin-right: 6px;
        position: relative;
        &:after {
            position: absolute;
            content: '*';
            font-size: 22px;
            line-height: 24px;
            color: @warnColor;
            right: -8px;
            top: 0px;
        }
    }
    :global(.ant-time-picker){
        width: 70px;
        margin-left: 4px;
        input {
            padding: 1px 6px;
            padding-right: 0;
            height: 24px;
        }
        :global(.ant-time-picker-icon), :global(.ant-time-picker-clear) {
            right: 4px !important
        } 
    }
    .btn {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
}
.wrapContent {
    color: #000;
    padding: 6px 0px;
    .label {
        padding: 0 10px;
        font-size: 14px;
        margin-right: 4px
    }
    .content {
        max-height: 25vh;
        overflow-x: hidden;
        overflow-y: scroll;
        .tTtem {
            display: flex;
            align-items: center;
            padding: 8px 10px 8px 4px;
            border-bottom: 1px solid rgba(0,0,0,0.15);
            div:nth-child(1){
                text-align: center;
                padding: 0 4px;
                margin-right: 10px;
                font-size: 16px;
                font-weight: 500;
                color: #c41d7f
            }
            div:nth-child(2){
                flex: 1;
                word-break: break-all;
            }
        }
    }
}
.footer {
    text-align: center;
    padding: 10px 0;
    // border-top: 1px solid rgba(0,0,0,0.15);
    button:nth-child(1){
        margin-right: 20px;
    }
}